package com.mindata.blockmanager.model;

import com.mindata.blockmanager.model.base.BaseEntity;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 联盟链，多个节点组成一个group，一个group为一个联盟链
 *
 * @author wuweifeng wrote on 2018/3/5.
 */
@Entity
@Table(name = "member_group")
@Data
public class MemberGroup extends BaseEntity {
    private String name;
    /**
     * 设置一个业务id
     */
    private int groupId;

}
